![]() |
SetDeviceAttribute |
||||
Header: | Quickdraw.h | Carbon status: | Supported | |
Sets the attribute bits of a GDevice structure.
void SetDeviceAttribute ( GDHandle gdh, SInt16 attribute, Boolean value );
A handle to a GDevice structure.
One of the specific constants, which represent bits in the gdFlags field of a GDevice structure. See
A value of either 0 or 1 for the flag bit specified in the attribute parameter.
For the graphics device specified in the gdh parameter, the SetDeviceAttribute function sets the flag bit specified in the attribute parameter to the value specified in the value parameter.
Your application should never directly change the gdFlags field of the GDevice structure; instead, use only the SetDeviceAttribute function.
The SetDeviceAttribute function may move or purge memory blocks in the application heap; do not call this function at interrupt time.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)